﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HA.ModFlow.Domain.FileLayer;

namespace HA.ModFlow.Domain.DomainLayer
{
    [Serializable]
    public class OutputControlPeriod
    {
        public OutputControlPeriod(double stepNum)
        {
            this._outputSteps = new List<OutputStep>();

            for (int i = 0; i < stepNum; i++)
            {
                this._outputSteps.Add(new OutputStep());
            }
        }

        List<OutputStep> _outputSteps;

        public List<OutputStep> OutputSteps
        {
            get { return _outputSteps; }
            set { _outputSteps = value; }
        }

        public void ChangeSteps(double stepNum)
        {
            _outputSteps.Clear();

            for (int i = 0; i < stepNum; i++)
            {
                this._outputSteps.Add(new OutputStep());
            }
        }
    }
}
